package org.kazao.sms;
public class KazaoDeviceInfo {
    protected String manufacturer;
    protected String model;
    protected String serialNo;
    protected String imsi;
    protected String swVersion;
    protected int batteryLevel;
    protected int signalLevel;
    protected KazaoStatistics statistics;
    public String getManufacturer() {
        return manufacturer;
    }
    
    public String getModel() {
        return model;
    }
    
    public String getSerialNo() {
        return serialNo;
    }
    
    public String getImsi() {
        return imsi;
    }
    
    public String getSwVersion() {
        return swVersion;
    }
    
    public int getBatteryLevel() {
        return batteryLevel;
    }
    
    public int getSignalLevel() {
        return signalLevel;
    }
    
    public KazaoStatistics getStatistics() {
        return statistics;
    }
    
    public KazaoDeviceInfo() {
        manufacturer = "";
        model = "";
        serialNo = "";
        imsi = "";
        swVersion = "";
        batteryLevel = 0;
        signalLevel = 0;
        statistics = new KazaoStatistics();
    }
    
    public class KazaoStatistics {
        protected int totalIn;
        protected int totalOut;
        
        public KazaoStatistics() {
            totalIn = 0;
            totalOut = 0;
        }
        
        public int getTotalIn() {
            return totalIn;
        }
        
        public int getTotalOut() {
            return totalOut;
        }
        
        protected void incTotalIn() {
            totalIn++;
        }
        protected void incTotalOut() {
            totalOut++;
        }
    }
}
